package za.ac.lance.singleresponsibilityprinciple.test;

import org.junit.*;
import static org.junit.Assert.*;
import za.ac.lance.singleresponsibilityprinciple.violates.model.CalcConverter;

/**
 * File Name: SingleResponsibilityPrincipleJUnitTestViolate.java
 * Version:
 * Description:
 * Package: za.ac.lance.singleresponsibilityprinciple.test
 * Author: Lance
 * Date: Mar 2, 2012
 */
public class SingleResponsibilityPrincipleJUnitTestViolate
{

    public SingleResponsibilityPrincipleJUnitTestViolate()
    {
    }

    @BeforeClass
    public static void setUpClass() throws Exception
    {
    }

    @AfterClass
    public static void tearDownClass() throws Exception
    {
    }

    @Before
    public void setUp()
    {
    }

    @After
    public void tearDown()
    {
    }

    @Test
    public void SingleResponsibilityPrincipleViolate()
    {
        CalcConverter calcConverter = new CalcConverter(0);
        
        assertEquals(2001, calcConverter.Addition(1, 2));
        assertEquals(-999, calcConverter.Subtraction(1, 1000));
    }
}